package com.boot.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.boot.common.utils.PageUtils;
import com.boot.mall.product.entity.SpuInfoEntity;
import com.boot.mall.product.vo.SpuInfoVo;
import com.boot.mall.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author huihui
 * @email 2565036109@qq.com
 * @date 2021-05-06 18:43:57
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    void saveSpuInfo(SpuSaveVo vo);

    PageUtils pageSpuProductByCondition(Map<String, Object> params);

    void upSpu(Long spuId);

    SpuInfoVo getSpuInfoBySkuId(Long skuId);
}

